package com.zhiling.www.service;

import com.zhiling.www.entity.EntrustOrder;
import com.zhiling.www.entity.Result;

public interface EntrustOrderService {

    //买入股票，添加委托订单
    Result addEntrustOrder(EntrustOrder entrustOrder,String token);
    //卖出股票，添加委托订单
    Result addSellEntrustOrder(EntrustOrder entrustOrder,String token);
    //分页加载委托订单
    Result orderList(int page, int pageSize,int status, String token);
    //撤单
    Result cancelOrder(int oid);
}
